package com.ruoyi.emergency.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加
import java.io.Serializable; //添加

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急救援物资对象 emergency_goods
 *
 * @author hcc
 * @date 2024-11-17
 */
@Data //添加
@TableName("emergency_goods") //添加
public class EmergencyGoods extends BaseEntity implements Serializable //修改
        {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
 //添加
        @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 仓库 */
            @Excel(name = "仓库")
    private String warehouse;

    /** 品种 */
            @Excel(name = "品种")
    private String kind;

    /** 规格 */
            @Excel(name = "规格")
    private String specification;

    /** 单位 */
            @Excel(name = "单位")
    private String unit;

    /** 条码 */
            @Excel(name = "条码")
    private String barCode;

    /** 生产商 */
            @Excel(name = "生产商")
    private String producer;

    /** 生产批号 */
            @Excel(name = "生产批号")
    private String produceNum;

    /** 保质期 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "保质期" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    /** 库存量 */
            @Excel(name = "库存量")
    private Integer keepCount;

        }

